package com.sgl.retrofitdemo.net.interactor;

import com.sgl.retrofitdemo.net.entity.respons.UserInfoEntity;
import com.sgl.retrofitdemo.net.model.UserDataModel;

import rx.Observable;

/**
 * Created by sunqiyong on 2016/11/13.
 */

public class UserInfoGetUseCase extends UseCase<UserInfoEntity>{

    private String mCount;
    private String mPassWord;

    public void setmCount(String mCount) {
        this.mCount = mCount;
    }

    public void setmPassWord(String mPassWord) {
        this.mPassWord = mPassWord;
    }

    @Override
    protected Observable<UserInfoEntity> buildUseCaseObservable() {
        return UserDataModel.getInstance().testGet(mCount,mPassWord);
    }
}
